// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 6.14.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'BOAT_HORN' 
21@ = 0 

:BOAT_HORN_212
wait 0 
if 
0AB0:   key_pressed 72
jf @BOAT_HORN_212 
if or
   Actor.DrivingVehicleType($PLAYER_ACTOR, #TROPIC)
   Actor.DrivingVehicleType($PLAYER_ACTOR, #TROPIC)
jf @BOAT_HORN_212 
if 
21@ = Audiostream.Load("CLEO\SOUND\BOAT_HORN.WAV")
jf @BOAT_HORN_327 
Audiostream.PerformAction(21@, PLAY)
jump @BOAT_HORN_424 

:BOAT_HORN_327
03E6: remove_text_box 
0ACA: show_text_box "BOAT_HORN.WAV WAS NOT FOUND. MAKE SURE THAT THE FILE EXISTS IN CLEO\HORN\AUDIO." 
wait 250 
jump @BOAT_HORN_212 

:BOAT_HORN_424
wait 6000 
if 
0AB0:   key_pressed 72
jf @BOAT_HORN_451 
jump @BOAT_HORN_424 

:BOAT_HORN_451
jump @BOAT_HORN_212 
 
